const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  publicPath: '/',
  devServer: {
      proxy: {
          '/api/login': {
              // localhost 1.15.97.237
              target: 'http://localhost:3000/login',
              changeOrigin: true,
              ws: true,
              pathRewrite: {
                '^/api/login': ''
              }
          }
      }
  },

  transpileDependencies: true,
  lintOnSave:false
})